package com.atguigu.gmall.payment.service;

import com.atguigu.gmall.model.enums.PaymentType;
import com.atguigu.gmall.model.payment.PaymentInfo;

import java.util.Map;

public interface PaymentService {

    PaymentInfo insert(Long orderId, PaymentType paymentType);

    void updateStatus(Map<String, String> paramMap);

    PaymentInfo selectOne(String outTradeNo);
}
